package com.blc.config;

/**
 * @Author tidudada
 * @Description 创建这个线程用于存放Access-token方便调用
 * @Date 上午8:56 2021/12/7
        **/
public class AccessTokenThreadLocal {
    private static ThreadLocal<String> accessLocal = new ThreadLocal<>();

    public static void set(String token){
        accessLocal.set(token);
    }

    public static String get(){
      return accessLocal.get();
    }
}
